package com.cta.view.json;

public class UserViewJson extends BaseJson {

	private String thumb;
	private String type;
	private boolean isAdmin;

	
	public UserViewJson(String id, String name, String thumb, String obId, String type) {
		super(id, obId,name, null);
		this.thumb = thumb;
		this.type = type;
	}
	
	public UserViewJson(String id, String name, String thumb, String obId, String type, boolean isAdmin) {
		super(id, obId, name, null);
		this.thumb = thumb;
		this.type = type;
		this.isAdmin = isAdmin;
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb;
	}
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean isAdmin() {
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
	}
}
